using System;
using System.Collections.Generic;
using System.Text;

namespace MsSqlSpatial
{
	public class InvalidSridException : ApplicationException
	{
		public InvalidSridException(int srid) 
			: base(string.Format("Invalid SRID {0}. Valid values are -1 and those in [ST].[SPATIAL_REF_SYS] table.", srid)) { }
	}

	public class DifferentSridException : ApplicationException
	{
		public DifferentSridException(int srid1, int srid2)
			: base(string.Format("Operation on geometries with different SRIDs ({0} and {1})", srid1, srid2)) { }
	}
}
